        <script type="text/javascript" src='assets/js/profile_form.js'></script>
        <link href="assets/css/post.css" rel="stylesheet"/>
        <div class="container">
            <div class="row">        
                <?php $this->load->view('profile/profile_sidebar'); ?>
                <div class="span9">
                    <form class="form-horizontal" id="profile_form" method="POST" action="#">
                        <div class="row">
                            <div class="span9"><legend>基本资料</legend></div>
                        </div>
                        <fieldset>
                            <div class="control-group">
                                <label class="control-label" for="profile_nickname">注册邮箱(不公开)</label>
                                <div class="controls">
                                    <input type="text" class="input-large" id="profile_email" name="nickname" readonly="readonly" value="<?php echo($_SESSION['userinfo']['email']) ?>">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="profile_nickname">用户昵称</label>
                                <div class="controls">
                                    <input type="text" class="input-large" id="profile_nickname" name="nickname" value="<?php echo($_SESSION['userinfo']['nickname']) ?>">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="profile_gender">性别(不可修改)</label>
                                <div class="controls">
                                    <select class="input-mini" id="profile_gender" name="gender" disabled >
                                        <option value="1">男</option>
                                        <option value="0">女</option>
                                    </select>
                                    <input type="hidden" id="gender_in_session" value="<?php echo($_SESSION['userinfo']['gender']) ?>">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="profile_living_place">现居地（学校）</label>
                                <div class="controls">
                                    <input type="text" class="input-large" id="profile_living_place" name="living_place" value="<?php echo($info['living_place']) ?>" >
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="profile_year_of_birth">出生年份</label>
                                <div class="controls">
                                    <input type="text" class="input-large" id="profile_year_of_birth" name="year_of_birth" value="<?php echo($info['year_of_birth']) ?>" >
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="profile_constel">星座</label>
                                <div class="controls">
                                    <input type="text" class="input-mini" id="profile_constel" name="constel" value="<?php echo($info['constel']) ?>" data-content="
                                        <table class=&quot;constel-table&quot;>
                                            <tbody style=&quot;text-align:center;&quot;>
                                                <tr>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-capicorn&quot;></i><br>摩羯座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-aquarius&quot;></i><br>水瓶座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-pisces&quot;></i><br>双鱼座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-aries&quot;></i><br>白羊座</td>
                                                </tr>
                                                <tr>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-taurus&quot;></i><br>金牛座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-gemini&quot;></i><br>双子座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-cancer&quot;></i><br>巨蟹座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-leo&quot;></i><br>狮子座</td>
                                                </tr>
                                                <tr>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-virgo&quot;></i><br>处女座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-libra&quot;></i><br>天秤座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-scorpio&quot;></i><br>天蝎座</td>
                                                    <td class=&quot;constel&quot;><i class=&quot;iconstel-sagittarius&quot;></i><br>射手座</td>
                                                </tr>
                                            </tbody>
                                            <tfoot>
                                            </tfoot>
                                        </table>
                                    ">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="profile_is_single">是否单身</label>
                                <div class="controls">
                                    <select class="input-middle" id="profile_is_single" name="is_single">
                                        <option value="0">是</option>
                                        <option value="1">否</option>
                                        <option value="2">保密</option>
                                    </select>
                                    <input type="hidden" id="is_single_in_session" value="<?php echo($info['is_single']) ?>">
                                </div>
                            </div>
							<div class="control-group">
                                <label class="control-label" for="profile_email_show">联系邮箱(公开)</label>
                                <div class="controls">
                                    <input type="text" class="input-large" id="profile_email_show" name="email_show" maxlength="50" value="<?php echo($info['email_show']) ?>">
                                </div>
                            </div>
							<div class="control-group">
                                <label class="control-label" for="profile_qq_show">qq(公开)</label>
                                <div class="controls">
                                    <input type="text" class="input-large" id="profile_qq_show" name="qq_show" maxlength="10" value="<?php echo($info['qq_show']) ?>">
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label" for="profile_biography">个人描述</label>
                                <div class="controls">
                                    <textarea class="input-large" id="profile_biography" name="biography" ><?php echo($info['biography']) ?></textarea>
                                </div>
                            </div>                            
                            <div class="form-actions">
                                <button class="btn btn-primary" id="profile_update_btn">更新资料</button>
                                <a class="btn" href="<?php echo base_url()?>">返回首页</a>
                                <input type="hidden" id="message_show">
                            </div>
                        </fieldset>
                    </form>
                </div>
            </div>
        </div>